<%@page import="java.util.List"%>
<%@page import="javax.naming.InitialContext"%>
<%@page import="eu.telecom_bretagne.RECRUT.service.IServiceEmploye"%>
<%@page import="eu.telecom_bretagne.RECRUT.data.model.Employe"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	InitialContext ctx = new InitialContext();
	IServiceEmploye serviceEmploye = (IServiceEmploye) ctx
			.lookup(IServiceEmploye.JNDI_NAME);
	List<Employe> employes = serviceEmploye.listeEmployes();
	boolean firstEmpSelected = false;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Création d'un employe</title>
</head>
<body>
	<h1>Création d'un employe</h1>
	<form method="post" action="creer_employe">
		<table>
			<tr>
				<td><b>Name:</b></td>
				<td><input type="text" name="nom" value=""></td>
			</tr>
			<tr>
				<td><b>Prenom:</b></td>
				<td><input type="text" name="prenom" value=""></td>
			</tr>
			<tr>
				<td><b>Type:</b></td>
				<td><input type="text" name="type" value=""></td>
			</tr>
			<tr>
				<td><b>Departement:</b></td>
				<td><input type="text" name="departement" value=""></td>
			</tr>
		</table>
		<input type="submit">
	</form>
	<a href="index.jsp">Annuler / retour</a>
</body>
</html>